package com.pureut.storage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pureut.storage.domain.IncomingMaterialPrinting;
import com.pureut.storage.dto.IncomingMaterialPrintingDto;
import com.pureut.storage.vo.IncomingMaterialPrintingVo;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/***
 * 来料打印mapper
 * Author:C
 * Date:2022/12/26 14:58
 * @DESC
 */
@Mapper
public interface IncomingMaterialPrintingMapper extends BaseMapperPlus<IncomingMaterialPrintingMapper, IncomingMaterialPrinting, IncomingMaterialPrinting> {

    /**
     * 来料打印列表
     */
    Page<IncomingMaterialPrintingDto> getList(@Param("page") Page<IncomingMaterialPrintingDto> page, @Param("incomingMaterialPrintingVo") IncomingMaterialPrintingVo incomingMaterialPrintingVo);

    /**
     * 根据id获取信息
     */
    IncomingMaterialPrintingDto getPrintById(long id);
}
